From: Adrian Robert Date: Fri, 6 Mar 2009 15:29:50 +0000 (+0000) Subject: (ns_draw_vertical_window_border): Draw 1 pixel wide, not two, and X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~1385 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e2940b4d05a754a83b56410f05a5b73728a5f934;p=emacs.git (ns_draw_vertical_window_border): Draw 1 pixel wide, not two, and use NSRectFill instead of NSDrawGroove. --- diff --git a/src/nsterm.m b/src/nsterm.m index f5458fc0fd0..6ebf49f77c1 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -2454,7 +2454,7 @@ ns_draw_vertical_window_border (struct window *w, int x, int y0, int y1) { struct frame *f = XFRAME (WINDOW_FRAME (w)); struct face *face; - NSRect r = NSMakeRect (x, y0, 2, y1-y0); + NSRect r = NSMakeRect (x, y0, 1, y1-y0); NSTRACE (ns_draw_vertical_window_border); @@ -2463,7 +2463,7 @@ ns_draw_vertical_window_border (struct window *w, int x, int y0, int y1) [ns_lookup_indexed_color(face->foreground, f) set]; ns_focus (f, &r, 1); - NSDrawGroove (r, r); + NSRectFill(r); ns_unfocus (f); }